package com.yq.cp.entity.data;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yq.cp.entity.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 能控数据
 * </p>
 *
 * @author zh
 * @since 2023-03-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_neng_kong_data")
public class NengKongData extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Long dId;
    private String name;
    private String numericid;
    private BigDecimal value;//值
    private Date produceTime;//数据产生时间
    private String quality;

    private String tagName;
    private String energyCode;


    @TableField(exist = false)
    private BigDecimal yValue;
    private String macCode;

    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+8")
    private Date hourTime;

}
